package org.zhaozhen.order.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.zhaozhen.basic.domain.BaseDomain;
import org.zhaozhen.org.domain.Shop;
import org.zhaozhen.pet.domain.Pet;
import org.zhaozhen.user.domain.User;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class AdoptOrder extends BaseDomain {
    private String digest;
    private Integer state;
    private BigDecimal price;
    private String orderSn;
    private String paySn;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lastPayTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lastConfirmTime;
    private Long pet_id;
    private Long user_id;
    private Long shop_id;
    private Pet pet;
    private Shop shop;
    private User user;

}
